﻿
Namespace configNaming
    Namespace logmerger
        Public Module logmerger
            Public Const name As String = "logmerger"
            Public Const processors As String = "processors"
        End Module
    End Namespace

    Namespace processor
        Public Module processor
            Public Const filefilter As String = "filefilter"
            Public Const logpath As String = "logpath"
            Public Const remove As String = "remove"
            Public Const counter As String = "counter"
            Public Const merger As String = "merger"
            Public Const remotelogger As String = "remotelogger"
            Public Const monitorsleeptime As String = "monitorsleeptime"
            Public Const filesleeptime As String = "filesleeptime"
            Public Const readsleeptime As String = "readsleeptime"
            Public Const filethreadcount As String = "filethreadcount"
            Public Const includeSubfolders As String = "include_subfolders"
        End Module
    End Namespace

    Namespace loghandler
        Public Module loghandler
            Public Const [case] As String = "case"
            Public Const filter As String = "filter"
            Public Const multimatch As String = "multimatch"
        End Module
    End Namespace

    Namespace counter
        Public Module _counter
            Public Const counter As String = "counter"
            Public Const filter As String = loghandler.filter
            Public Const outputpath As String = "outputpath"
            Public Const flushtimes As String = "flushtimes"
            Public Const multimatch As String = loghandler.multimatch
        End Module
    End Namespace

    Namespace merger
        Public Module _merger
            Public Const merger As String = "merger"
            Public Const filter As String = loghandler.filter
            Public Const outputpath As String = "outputpath"
            Public Const flushtimes As String = "flushtimes"
            Public Const multimatch As String = loghandler.multimatch
        End Module
    End Namespace

    Namespace remotelogger
        Public Module _remotelogger
            Public Const remotelogger As String = "remotelogger"
            Public Const filter As String = loghandler.filter
            Public Const server As String = "server"
            Public Const port As String = "port"
            Public Const commode As String = "commode"
            Public Const multimatch As String = loghandler.multimatch
        End Module
    End Namespace

    Namespace defaultValue
        Namespace logmerger
            Public Module logmerger
                Public Const processors As String = Nothing
            End Module
        End Namespace

        Namespace processor
            Public Module processor
                Public Const filefilter As String = errorHandle.fileNameSuffix
                Public ReadOnly logpath As String = defaultLogPath()
                Public Const remove As Boolean = True
                Public Const counter As String = "counter"
                Public Const merger As String = "merger"
                Public Const remotelogger As String = "remotelogger"
                Public Const monitorsleeptime As Int64 = 30000
                Public Const filesleeptime As Int64 = 15000
                Public Const readsleeptime As Int64 = 64
                Public Const filethreadcount As Int64 = 32
                Public Const includeSubfolders As Boolean = False
            End Module
        End Namespace

        Namespace counter
            Public Module counter
                Public ReadOnly outputpath As String = defaultLogPath() + "\mergedlog\"
                Public Const flushtimes As UInt64 = 64
                Public Const multimatch As Boolean = True
            End Module
        End Namespace

        Namespace merger
            Public Module merger
                Public ReadOnly outputpath As String = defaultLogPath() + "\mergedlog\"
                Public Const flushtimes As UInt64 = 64
                Public Const multimatch As Boolean = False
            End Module
        End Namespace

        Namespace remotelogger
            Public Module remotelogger
                Public Const commode As String = "tcp"
                Public Const port As Int32 = npos
                Public Const multimatch As Boolean = False
            End Module
        End Namespace
    End Namespace
End Namespace
